package com.payroll.taglib.html;

import java.io.IOException;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.PageContext;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;
import org.apache.struts.util.ResponseUtils;

/**
 * Insert the type's description here.
 * Creation date: (2/7/02 3:32:04 PM)
 * @author: Framework Administrator
 */
public class ButtonCloseTag extends TagSupport {
/**
 * SavePromptTag constructor comment.
 */
public ButtonCloseTag() {
	super();
}
    /**
     * Process the end of this tag.
     * @exception JspException if a JSP exception has occurred
     */
    public int doEndTag() throws JspException {

        // Generate an HTML element
        StringBuffer results = new StringBuffer();
        results.append("<button ID=\"btnClose\" class=\"Button\" style=\" width: 60px\" onclick=\"executeClose();\" accesskey=\"c\"><u>C</u>lose</button><span>&#x20;</span>");
        // Render this element to our writer
        ResponseUtils.write(pageContext, results.toString());

        // Evaluate the remainder of this page
        return (EVAL_PAGE);

     }
}
